#for循环
magicians=['alice','david','carolina']
for magician in magicians:
    print(magician)
print(magician)#从这次的运行结果可以发现，这个for循环本质是将magicians中的元素对magician变量不断赋值
               #故此刻magician的值为magicians的最后一个列表元素的值